package com.mz.ozy.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/12/6.
 */

public class VirtualOrderBean implements Serializable {

    private AddressMapBean shaddressMap;
    private BalanceMapBean balance_map;
    private int id;
    private int product_id;
    private int attribute_id;
    private int isdelete;
    private int state;
    private int num;
    private String tradname;
    private String pname;
    private String productName;
    private String gname;
    private String price;
    private String marketPrice;
    private String img_zt;
    private String amount = "0.00";
    private String freWeight;
    private String continuation = "0.00";
    private int freightid;
    private int type;
    private List<FreightMapBean> freightList;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public BalanceMapBean getBalance_map() {
        return balance_map;
    }

    public String getPname() {
        return pname;
    }

    public String getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(String marketPrice) {
        this.marketPrice = marketPrice;
    }

    public int getAttribute_id() {
        return attribute_id;
    }

    public int getProduct_id() {
        return product_id;
    }

    public String getProductName() {
        return productName;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPrice() {
        return price;
    }

    public int getNum() {
        return num;
    }

    public String getImg_zt() {
        return img_zt;
    }

    public int getId() {
        return id;
    }

    public int getIsdelete() {
        return isdelete;
    }

    public int getState() {
        return state;
    }

    public String getTradname() {
        return tradname;
    }

    public String getFreWeight() {
        return freWeight;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getContinuation() {
        return continuation;
    }

    public void setContinuation(String continuation) {
        this.continuation = continuation;
    }

    public void setFreightid(int freightid) {
        this.freightid = freightid;
    }

    public int getFreightid() {
        return freightid;
    }

    public List<FreightMapBean> getFreightList() {
        return freightList;
    }

    public AddressMapBean getShaddressMap() {
        return shaddressMap;
    }

    public static class FreightMapBean implements Serializable {

        private int id;
        private int isdelete;
        private int type;
        private String area;
        private String amount = "0.00";
        private String created;
        private String name;
        private String modified;
        private String continuation;

        public int getId() {
            return id;
        }

        public int getIsdelete() {
            return isdelete;
        }

        public int getType() {
            return type;
        }

        public String getArea() {
            return area;
        }

        public String getAmount() {
            return amount;
        }

        public String getCreated() {
            return created;
        }

        public String getName() {
            return name;
        }

        public String getModified() {
            return modified;
        }

        public String getContinuation() {
            return continuation;
        }
    }

    public static class AddressMapBean implements Serializable {
        /*"uid": 191,
                "area2id": 4522900,
                "consignee": "jzkjk",
                "contactnumber": "13113663587",
                "id": 1,
                "isdefault": 1,
                "xxaddress": "asdfasdfasdf",
                "area1id": 4522894,
                "area0id": 4522868*/

        private int uid;
        private int id;
        private int isdefault;
        private int area0id;
        private int area1id;
        private int area2id;

        private String area2name;
        private String area1name;
        private String area0name;
        private String xxaddress;
        private String consignee;
        private String contactnumber;

        public String getArea2name() {
            return area2name;
        }

        public String getArea1name() {
            return area1name;
        }

        public String getArea0name() {
            return area0name;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public void setIsdefault(int isdefault) {
            this.isdefault = isdefault;
        }

        public void setArea2name(String area2name) {
            this.area2name = area2name;
        }

        public void setArea1name(String area1name) {
            this.area1name = area1name;
        }

        public void setArea0name(String area0name) {
            this.area0name = area0name;
        }

        public void setXxaddress(String xxaddress) {
            this.xxaddress = xxaddress;
        }

        public void setConsignee(String consignee) {
            this.consignee = consignee;
        }

        public void setContactnumber(String contactnumber) {
            this.contactnumber = contactnumber;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setArea0id(int area0id) {
            this.area0id = area0id;
        }

        public void setArea1id(int area1id) {
            this.area1id = area1id;
        }

        public void setArea2id(int area2id) {
            this.area2id = area2id;
        }

        public int getUid() {
            return uid;
        }

        public int getId() {
            return id;
        }

        public int getIsdefault() {
            return isdefault;
        }

        public int getArea0id() {
            return area0id;
        }

        public int getArea1id() {
            return area1id;
        }

        public int getArea2id() {
            return area2id;
        }

        public String getXxaddress() {
            return xxaddress;
        }

        public String getConsignee() {
            return consignee;
        }

        public String getContactnumber() {
            return contactnumber;
        }
    }

    public static class BalanceMapBean implements Serializable {
        private String balance;
        private String integral;

        public String getBalance() {
            return balance;
        }

        public String getIntegral() {
            return integral;
        }
    }
}
